import cv2 as cv
import numpy as np

src = cv.imread("./234.png",cv.IMREAD_UNCHANGED)


# cv.imshow("111",src)

# print(src)

# print(src[20,20,])
# print(src[10,10,])

print(src.shape)
for i in range(src.shape[0]):
    for j in range(src.shape[1]):
        # print(src[i,j,])
        if ((src[i,j,0] == 183) and (src[i,j,1] == 185) and (src[i,j,2] == 182)):
            src[i,j,0] = 183
            src[i,j,1] = 185
            src[i,j,2] = 182
        else:
            print(src[i,j])
        #     src[i,j,1] = 255
        #     src[i,j,2] = 255
        #     src[i,j,3] = 255               
        # if (src[i,j,0] == src[10,10,0]) and (src[i,j,1] == src[10,10,1]) and (src[i,j,2] == src[10,10,2]):
        #     src[i,j,0] = 255
        #     src[i,j,1] = 255
        #     src[i,j,2] = 255
        # if (src[i,j,] == src[10,10,]):
        #     src[i,j,0] = 255
        #     src[i,j,1] = 255
        #     src[i,j,2] = 255           


# print(src)
# cv.imshow("111",src)
cv.imwrite("./logo11.bmp",src)
cv.waitKey(0)
# print(src)

